import Vue from "vue";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import './filter/index'
import "./permission";


/* 全局组件 */
import Tag from './components/Tag/index.vue'; // 引入全局组件Tag
import DialogComponent from './components/Dialog/index.vue'; // 引入全局组件Dialog
import ColumnTable from './components/ColumnTable/index.vue'; // 引入全局显示表格里字段


Vue.component('Tag', Tag);
Vue.component('DialogComponent', DialogComponent);
Vue.component('ColumnTable', ColumnTable);



Vue.prototype.$EventBus = new Vue();
Vue.config.productionTip = false;
Vue.use(ElementUI);
// console.log = function(){}

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
